package com.peanut.bosskg.entity.pay;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/***
 *
 *
 * 描    述：批量付款订单参数
 *
 * 创 建 者：@author lg
 *
 */
@Data
public class BatchOrderTransDTO implements Serializable {

    private static final long serialVersionUID = -1L;


    /**企业编号*/
    @JsonSerialize(using= ToStringSerializer.class)
    private Long enterpriseId;

    /**企业名称*/
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    /**商户批次号*/
    @ApiModelProperty(value = "商户批次号")
    private String  merBatchId;

    /**
     * 总金额
     */
    @ApiModelProperty(value = "总金额")
    private String totalAmt;

    /**任务ID*/
    @ApiModelProperty(value = "任务ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long taskId;

    /**
     * 任务（原来叫项目）名称
     */
    @ApiModelProperty(value = "任务名称")
    private String taskName;

    /**服务商ID*/
    @ApiModelProperty(value = "服务商ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long providerId;

    /**服务商名称*/
    @ApiModelProperty(value = "服务商名称")
    private String providerName;

    /**付款数据*/
    @ApiModelProperty(value = "付款数据")
    private List<PayItemsDTO> payItems;


    @ApiModelProperty(value = "付款方式 0：银行卡，1：支付宝，2：微信")
    private Integer paymentType;
    /**
     * 付款方式 ENTERPRISE_PAYMENT:客户直付，PROVIDER_PAYMENT：服务商代付
     */
    private String payWay;
}
